#ifndef CONTOURCONTROL_H
#define CONTOURCONTROL_H

#include <QDialog>
#include "ui_contourcontrol.h"

namespace PBVP {
	class ConTreePlugin;
	///
	class ContourControl : public QDialog
	{
		Q_OBJECT

	public:
		///
		ContourControl(ConTreePlugin *pConTree, QWidget *parent = 0);
		
		/// Destructor
		~ContourControl();

		///
		float getIsoValue() const;

		///
		int numOfContours() const;

		///
		/**
		 * @return int 0: If inner region has values < isovalue
		 *			   1: If inner region has values > isovalue
		 */
		int innerRegion() const;

	private:
		Ui::ContourControlClass ui;
	};
}

#endif // CONTOURCONTROL_H
